<template>
  <div class="book-main-sort .clearfix">     <!-- 分类种类区域 -->
      <div class="book-main-head w">
        <div class="sort-main">
          <div class="sort-main-label">分类：</div>
          <div class="sort-main-container">
            <div class="sort-main-container-text">玄幻</div>
            <div class="sort-main-container-text">科幻</div>
            <div class="sort-main-container-text">悬疑</div>
            <div class="sort-main-container-text">教育</div>
            <div class="sort-main-container-text">美术</div>
            <div class="sort-main-container-text">爱情</div>
          </div>
        </div>
        <div class="sort-main">
          <div class="sort-main-label">筛选：</div>
          <div class="sort-main-container">
            <div class="sort-main-container-text">九成新</div>
            <div class="sort-main-container-text">八成新</div>
            <div class="sort-main-container-text">七成新</div>
            <div class="sort-main-container-text">六成新</div>
            <div class="sort-main-container-text">五成新</div>
            <div class="sort-main-container-text">四成新</div>
          </div>
        </div>
        <!-- <div class="book-main-body clearfix">
          <div class="book-main-list w">
            <div class="book_list">
              <a href="book_detail.html" target="_blank"
                ><span><img src="upload/1.jpg" alt="暂无具体信息" class="goods" /></span>
                <h4>
                  中文打字机：一个世纪的汉字突围史中文打字机：一个世纪的汉字突围史中文打字机：一个世纪的汉字突围史
                </h4></a
              >
              <div class="price">
                <div class="price_unit">¥</div>
                <div class="price_value">20</div>
                <div class="business">出自于木马</div>
                <img src="images/love.png" class="love" title="收藏" />
              </div>
            </div>
          </div>
        </div> -->
  </div>
         <!-- 商店分类区域 -->
    <div class="book-sort-body">
      <div class="book-sort-list w">
        <div class="empty-show"></div>
        <div class="no-result">没有相关结果，请选择类型</div>
      </div>
    </div>
                        <!-- 底部区域 -->
    <div class="footer">
      <ul class="f-main w">
        <li>
          <div class="f-top">二手书吧</div>
          <div class="card"><a href="#">关于我们</a></div>
          <div class="card"><a href="#">关于我们</a></div>
          <div class="card"><a href="#">关于我们</a></div>
          <div class="card"><a href="#">关于我们</a></div>
          <div class="card"><a href="#">关于我们</a></div>
          <div class="card"><a href="#">关于我们</a></div>
        </li>
        <li>
          <div class="f-top">我是中间</div>
          <div class="card"><a href="#">帮助中心</a></div>
          <div class="card"><a href="#">帮助中心</a></div>
          <div class="card"><a href="#">帮助中心</a></div>
          <div class="card"><a href="#">帮助中心</a></div>
          <div class="card"><a href="#">帮助中心</a></div>
          <div class="card"><a href="#">帮助中心</a></div>
        </li>
        <li>
          <div class="f-top">我是右侧</div>
          <div class="card"><a href="#">客服中心</a></div>
          <div class="card"><a href="#">客服中心</a></div>
          <div class="card"><a href="#">客服中心</a></div>
          <div class="card"><a href="#">客服中心</a></div>
          <div class="card"><a href="#">客服中心</a></div>
          <div class="card"><a href="#">客服中心</a></div>
        </li>
      </ul>
    </div>
</div>
</template>

<script>
export default {
  name: 'BookSort'
}
</script>

<style scoped>
@keyframes rotate {
    0% {
        transform: rotate(0deg)
    }
    100% {
        transform: rotate(180deg)
    }
}
/* 清除浮动 */
.clearfix:after {
  content: "";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

/* .clearfix {
  IE6、7 专有
  *zoom: 1;
} */
/* 分类区域 */
.book-main-sort {
  position: relative;
  width: 1100px;
  margin: 0 auto;
  border-radius: 20px;
  padding-top: 20px;
  background-color: white;
}

.book-main-head {
  display: block;
  margin: 0 auto;
  height: 140px;
}

.book-main-sort .sort-main {
  width: 960px;
  min-height: 61px;
  border: 1px solid #d8d8d8;
  margin: 0 auto;
  position: relative;
}
/* .book-main-sort .sort-select {
  width: 1161px;
  min-height: 61px;
  border: 1px solid #d8d8d8;
  margin: 0 auto;
  position: relative;
} */

.sort-main .sort-main-label {
  position: absolute;
  width: 90px;
  top: 0;
  bottom: 0;
  border-right: 0;
  font-size: 14px;
  font-weight: PingFang SC;
  text-align: center;
  line-height: 60px;
  background-color: #f4f4f4;
}

.sort-main .sort-main-container {
  min-height: 29px;
  padding: 16px 0;
  margin-left: 90px;
  float: left;
  width: 1070px;
}

.sort-main-container .sort-main-container-text {
  height: 14px;
  float: left;
  font-size: 14px;
  margin-left: 32px;
  margin-top: 8px;
  margin-bottom: 8px;
  line-height: 14px;
  cursor: pointer;
}
.book-sort-body {
  display: block;
  height: 460px;
  padding-top: 25px;
  background-color: white;
}
.book-sort-body .empty-show {
    margin: 120px auto 0;
    width: 100px;
    height: 120px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-image: url(@/assets/images/loading.png);
    transform: rotate(180deg);
    animation-name: rotate;
    animation-duration: 2.5s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
}
.book-sort-list {
  /* position: relative; */
  margin: 0 auto;
}

.book-sort-body .no-result {
  text-align: center;
  font-size: 14px;
  color: #99a2aa;
  letter-spacing: 0;
  margin-bottom: 60px;
}

.book-sort-body .empty-show {
  margin: 120px auto 0;
  width: 100px;
  height: 120px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url(@/assets/images/loading.png);
  transform: rotate(180deg);
  animation-name: rotate;
  animation-duration: 2.5s;
  animation-delay: 1s;
  animation-iteration-count: infinite;
}
/* 首页底部区域 */
.footer {
  background-color: #fff;
  margin: 60px auto;
  border-radius: 0 0 20px 20px;
}

.footer a {
  text-decoration: none;
  color: #797979;
}

.footer .f-main {
  display: block;
  width: 100%;
  height: 150px;
  border-radius: 0 0 20px 20px;
  border-top: 1px solid rgb(229, 233, 239);
  border-bottom: 1px solid rgb(229, 233, 239);
  margin: 10px auto;
}

.footer .f-top {
  width: 200px;
  height: 30px;
  /* text-align: center; */
  line-height: 30px;
  font-size: 12px;
  color: rgb(153, 162, 177);
  margin-bottom: 5px;
}

.footer ul li {
  float: left;
  text-align: left;
  list-style: none;
  width: 340px;
  height: 112px;
  padding-left: 20px;
  line-height: 1;
  border-left: 1px solid #e5e9ef;
  font-size: 14px;
  margin: 5px 0 0 0;
}

.footer a:hover {
  color: skyblue;
}

.footer .card {
  float: left;
  width: 120px;
  margin-bottom: 16px;
}
</style>
